export default [
    {
        path: '/tenant-management',
        name: 'tenantManage', //当前菜单名称
        meta: {
            title: '租户管理',
            permiss: 2,
        },
        children: [
            {
                path: '/daily-check-of-issue-orders',
                name: 'prReportProblemRecord',
                meta: {
                    title: 'pr问题报事记录',
                    permiss: 201,
                    cache: true
                },
                component: () => import(/* webpackChunkName: "daily-check-of-issue-orders" */ '../views/tenant-manage/daily-check-of-issue-orders/index.vue'),
            },
            {
                path: '/daily-check-of-issue-orders-detail/:id',
                name: 'prReportProblemRecordDetail',
                meta: {
                    title: 'pr问题报事记录详情',
                    parentSideItem: '/daily-check-of-issue-orders',
                    permiss: 201,

                },
                component: () => import(/* webpackChunkName: "daily-check-of-issue-orders-detail" */ '../views/tenant-manage/daily-check-of-issue-orders/detail.vue'),
            },
            {
                path: '/daily-store-check-records',
                name: 'dailyStoreInspectionRecords',
                meta: {
                    title: '日常门店巡检记录',
                    permiss: 202,
                    cache: true
                },
                component: () => import(/* webpackChunkName: "daily-store-check-records" */ '../views/tenant-manage/daily-store-check-records/index.vue'),
            },
            {
                path: '/daily-store-check-records-detail/:id',
                name: 'dailyStoreInspectionRecordsDetail',
                meta: {
                    title: '日常门店巡检记录详情',
                    parentSideItem: '/daily-store-check-records',
                    permiss: 202,
                },
                component: () => import(/* webpackChunkName: "/daily-store-check-records-detail" */ '../views/tenant-manage/daily-store-check-records/detail.vue'),
            },
            {
                path: '/deeply-store-visit',
                name: 'InDepthInterviewsWithTheStore',
                meta: {
                    title: '门店深度访谈记录',
                    permiss: 203,
                    cache: true
                },
                component: () => import(/* webpackChunkName: "deeply-store-visit" */ '../views/tenant-manage/deeply-store-visit/index.vue'),
            },
            {
                path: '/deeply-store-visit-detail/:id',
                name: 'InDepthInterviewsWithTheStoreDetail',
                meta: {
                    title: '门店深度访谈记录详情',
                    parentSideItem: '/deeply-store-visit',
                    permiss: 203,
                },
                component: () => import(/* webpackChunkName: "deeply-store-visit-detail" */ '../views/tenant-manage/deeply-store-visit/detail.vue'),
            },
            {
                path: '/sales-audit-management',
                name: 'saleAuditManage',
                meta: {
                    title: '销售审计管理',
                    permiss: 20401,
                },
                component: () => import(/* webpackChunkName: "sales-audit-management" */ '../views/tenant-manage/sales-audit/index.vue'),
            },
            {
                path: '/sales-audit-adjust-plan',
                name: 'adjustAuditPlan',
                meta: {
                    title: '调整审计计划',
                    parentSideItem: '/sales-audit-management',
                    permiss: 2040101,
                },
                component: () => import(/* webpackChunkName: "sales-audit-adjust-plan-management" */ '../views/tenant-manage/sales-audit/adjust-plan.vue'),
            },
            {
                path: '/sales-audit-system-contrast/:id/:month',
                name: 'dataContrast',
                meta: {
                    title: '系统数据对比',
                    parentSideItem: '/sales-audit-management',
                    permiss: 20401,
                },
                component: () => import(/* webpackChunkName: "sales-audit-system-contrast-management" */ '../views/tenant-manage/sales-audit/system-contrast.vue'),
            },
            {
                path: '/sales-audit-record/:id/:dynamicsCode/:tenantName',
                name: 'saleAuditRecord',
                meta: {
                    title: '审计记录',
                    parentSideItem: '/sales-audit-management',
                    permiss: 20401,
                },
                component: () => import(/* webpackChunkName: "sales-audit-record-management" */ '../views/tenant-manage/sales-audit/record.vue'),
            },
            {
                path: '/sales-audit-record-detail/:id',
                name: 'saleAuditRecordDetail',
                meta: {
                    title: '审计记录详情',
                    parentSideItem: '/sales-audit-management',
                    permiss: 20401,
                },
                component: () => import(/* webpackChunkName: "sales-audit-record-detail-management" */ '../views/tenant-manage/sales-audit/record-detail.vue'),
            },
            {
                path: '/pr-special-check-management',
                name: 'specialInspection',
                meta: {
                    title: '专项检查管理',
                    permiss: 205,
                },
                component: () => import(/* webpackChunkName: "pr-special-check" */ '../views/tenant-manage/pr-special-check/index.vue'),
                children: [
                    {
                        path: '/pr-special-check-info',
                        name: 'specialInspectionInfo',
                        meta: {
                            title: '基本信息',
                            permiss: 20501,
                        },
                        component: () => import(/* webpackChunkName: "pr-special-check-info" */ '../views/tenant-manage/pr-special-check/info.vue'),
                    },
                    {
                        path: '/pr-special-check-records',
                        name: 'specialInspectionList',
                        meta: {
                            title: '专项检查管理-列表',
                            permiss: 20502,
                            cache: true
                        },
                        component: () => import(/* webpackChunkName: "pr-special-check-records" */ '../views/tenant-manage/pr-special-check/records.vue'),
                    },
                    {
                        path: '/pr-special-check-records-detail/:id',
                        name: 'specialInspectionDetail',
                        meta: {
                            title: '专项检查记录-详情',
                            parentSideItem: '/pr-special-check-records',
                            permiss: 20502,
                        },
                        component: () => import(/* webpackChunkName: "pr-special-check-records-detail" */ '../views/tenant-manage/pr-special-check/detail.vue'),
                    },
                    {
                        path: '/pr-special-check-forms-operate/:type/:id?',
                        name: 'specialInspectionTableOperate',
                        meta: {
                            title: '专项检查表操作',
                            parentSideItem: '/pr-special-check-info',
                            permiss: [2050103, 2050104],
                        },
                        component: () => import(/* webpackChunkName: "pr-special-check-forms-operate-management" */ '../views/system-manage/meeting-place-inspection-forms/operate.vue'),
                    },
                    {
                        path: '/pr-special-check-forms-detail/:id',
                        name: 'specialInspectionTableDetail',
                        meta: {
                            title: '专项检查表详情',
                            parentSideItem: '/pr-special-check-info',
                            permiss: 20501,
                        },
                        component: () => import(/* webpackChunkName: "pr-special-check-forms-detail-management" */ '../views/system-manage/meeting-place-inspection-forms/detail.vue'),
                    },
                ]
            },
        ]
    },
]